/*
Copyright [2023] [fuwen_soft]
*/
package vip.xiaonuo.modular.xylogyauth.param;
import java.time.LocalDateTime;
import vip.xiaonuo.core.pojo.base.param.BaseParam;
import lombok.Data;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.NotBlank;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.*;

/**
* 用户与族谱得权限表参数类
 *
 * @author yanwei
 * @date 2023-05-05 15:44:27
*/
@Data
@ApiModel("用户与族谱得权限表 查询条件")
public class XyLogyAuthParam extends BaseParam {

    /**
     * 
     */
    @NotNull(message = "不能为空，请检查id参数", groups = {edit.class, delete.class, detail.class})
    @ApiModelProperty("")
    private String id;

    /**
     * 用户编号
     */
    @NotBlank(message = "用户编号不能为空，请检查userId参数", groups = {add.class, edit.class})
    private String userId;

    /**
     * 族谱编号
     */
    @NotBlank(message = "族谱编号不能为空，请检查logyId参数", groups = {add.class, edit.class})
    private String logyId;

    /**
     * *,代表全部,指定家族成员;
多选，层级编号，也就是 ethnic id,所有派系下得
     */
    @NotBlank(message = "*,代表全部,指定家族成员 多选，层级编号，也就是 ethnic id,所有派系下得不能为空，请检查perMisc参数", groups = {add.class, edit.class})
    private String perMisc;

    /**
     * 权限名称
     */
    @NotBlank(message = "权限名称不能为空，请检查authName参数", groups = {add.class, edit.class})
    private String authName;

    /**
     * 备注信息
     */
    @NotBlank(message = "备注信息不能为空，请检查reMark参数", groups = {add.class, edit.class})
    private String reMark;

    /**
     * 是否禁用,1=正常,2=禁用
     */
    @NotNull(message = "是否禁用,1=正常,2=禁用不能为空，请检查disabled参数", groups = {add.class, edit.class})
    private Integer disabled;

}
